package com.mh.www.mh_frame.presenter.present.base;

import android.support.annotation.NonNull;

import com.mh.www.mh_frame.presenter.iview.base.BaseView;

/**
 * Created by lenovo on 2018/4/18.
 */

public class BasePresenterImpl<T extends BaseView> implements BasePresenter {
    protected T mView;

    @Override
    public void onCreate() {

    }

    @Override
    public void onDestroy() {
        mView = null;

    }
    //初始化view对象
    @Override
    public void attachView(@NonNull BaseView view) {
        mView = (T) view;
    }


}